package com.scan.dao.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.scan.dao.model.VoteActiver;
@Mapper
public interface VoteActiverMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(VoteActiver record);

    int insertSelective(VoteActiver record);

    VoteActiver selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(VoteActiver record);

    int updateByPrimaryKey(VoteActiver record);

    int cntByVoteOption(@Param("voteId") int voteId,@Param("optionId") int optionId);

}